/** 
 * Create FlashCard Class 
 * @param forLangText The foreign language text
 * @param natLangText The native language text
 * @param pronunciation Text indicating the pronunciation of forLangText
 * @param audio A link to an audio file of the word
 * @param ex Example(s) of the word in use
 */

function FlashCard(forLangText, natLangText, pronunciation, audio, ex) {
  this.forLangText = forLangText;
  this.natLangText = natLangText;
  this.pronunciation = pronunciation;
  this.audio = audio;
  this.ex = ex;

  /* Set and track weights for each pair of flash card "sides." Weights 
   * will be used to determine the length of time until the card is 
   * displayed again (1 = shortest amount of time, 0 = infinite).  Possible
   * pairs (stimulus -> response) include: 
   * forNat (foreign text -> native text), forPron (foreign text -> 
   * pronunciation), natFor (native text -> foreign text), audioNat 
   * (audio -> native text)
   */
  this.forNatWt = 1;
  this.forPronWt = 1;
  this.natForWt = 1;
  this.audioNatWt = 1;

  /**
   *  Weights updated according to user's difficulty response (miss, 
   * hard, so_so, easy)
   * @param weight The weight to be updated
   * @param difficulty The user's response of the difficulty
   * @return The updated weight
   */
  function updateWt(weight, difficulty) {
    /* *****NEED TO THINK ABOUT THIS PART***** */
  }
}